<template>
	<view>
		<cu-custom :bgColor="'bg-white'" :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">通知</block>
		</cu-custom>

		<view class="margin">
			<skeleton :row="3" animate :loading="loading" >
			<!-- <rich-text :nodes="content"></rich-text> -->
			<mp-html :content="firstNotice.content" />
			
			</skeleton>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:0,
				firstNotice:{},
			}
		},
		onLoad(options) {
			this.id = options.id;
			this.getNotice();
		},
		methods: {
			getNotice(){
				const _this = this;
				_this.$apiResquest({
					url: 'cms/firstNotice',
					method: 'GET',
					query:{id:_this.id}
				}).then(function(res) {
					
					_this.firstNotice = res.data
				
				})
			}
		}
	}
</script>

<style>

</style>
